package com.erp.erp_dao.ProducWj;

import com.erp.erp_entitys.ProducWj.ProducWjEntity;
import com.erp.erp_entitys.ProducWj.ProducWjExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IProductWjDAO {
    long countByExample(ProducWjExample example);

    int deleteByExample(ProducWjExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProducWjEntity record);

    int insertSelective(ProducWjEntity record);

    List<ProducWjEntity> selectByExample(ProducWjExample example);

    ProducWjEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProducWjEntity record, @Param("example") ProducWjExample example);

    int updateByExample(@Param("record") ProducWjEntity record, @Param("example") ProducWjExample example);

    int updateByPrimaryKeySelective(ProducWjEntity record);

    int updateByPrimaryKey(ProducWjEntity record);
}